Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade margin and collapse behavior #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

EnochMakenp
Copy link
Contributor

  • decrease the left padding of the outline to save space (removed unnecessary ul element when part and chapter are not used, and decreased the left-most ul element margin)
  • allow to collapse section even if they contain only "figures" (that is figure, table or theorem)
  • fix li for subsubsection and add "" around file name in link to avoid problem with file name with space

Only tested on Win-10 for a book and an article.
Probably require to bump version number to 1.4.

- allow to control the left-most padding of the outline to save horizontal space (currently fixed at 5px)
- suppress the <ul> elements for unused part and chapter outline level to save horizontal space
- make the "figures" (that is figure, table and theorem) also collapsable directly from their parent section
- fix bugs: <li> element not closed at the right place for subsubsection outline and missing "" around data-file that caused problem with filename with space
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant